]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Also fade ScrollView in folders
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Sep 2013 07:48:25 +0000 (09:48 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Sep 2013 16:30:18 +0000 (18:30 +0200)
js/ui/appDisplay.js

index 7ef827228ba2d6215295be759388e1f36193254e..3fc86f3479810727c110a0188004a1bf6dc1cbbf 100644 (file)
@@ -962,6 +962,10 @@ const FolderView = new Lang.Class({
 
         this.actor.set_width(this.usedWidth());
         this.actor.set_height(this.usedHeight());
+
+        let fadeOffset = Math.min(this._grid.topPadding,
+                                  this._grid.bottomPadding);
+        this.actor.update_fade_effect(fadeOffset, 0);
     },
 
     _getPageAvailableSize: function() {